package com.atlzk.group.tgou.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atlzk.common.utils.PageUtils;
import com.atlzk.common.utils.Query;

import com.atlzk.group.tgou.dao.KanshopDao;
import com.atlzk.group.tgou.entity.KanshopEntity;
import com.atlzk.group.tgou.service.KanshopService;


@Service("kanshopService")
public class KanshopServiceImpl extends ServiceImpl<KanshopDao, KanshopEntity> implements KanshopService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<KanshopEntity> page = this.page(
                new Query<KanshopEntity>().getPage(params),
                new QueryWrapper<KanshopEntity>()
        );

        return new PageUtils(page);
    }

}